package org.deng.learn.dubbo.api.entity;

import java.io.Serializable;

/**
 * @author 邓力宾
 * @Desc
 * @since 2020/6/17 上午9:42
 */
public class User implements Serializable {
    private Integer id;
    private String name;
    private Integer port;

    public User() {
    }

    public User(Integer id, String name, Integer port) {
        this.id = id;
        this.name = name;
        this.port = port;
    }

    public Integer getPort() {
        return port;
    }

    public void setPort(Integer port) {
        this.port = port;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", port=" + port +
                '}';
    }
}
